﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ForgetPassword.aspx.cs" Inherits="DepartmentSystem.ForgetPassword" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title><link rel="stylesheet" href="./resource/bootstrap/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous" />
    
</head>
<body>
    <form id="form1" runat="server">
        <h1>修改密码</h1>
        <div>
            <table class="table-condensed">
                <tr>
                    <td>
                        <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox1" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="TextBox1" runat="server" ErrorMessage="用户名不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>

                    <td>
                        <asp:Label ID="Label4" runat="server" Text="邮箱"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox class="form-control"  ID="TextBox4" runat="server"></asp:TextBox>

                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="TextBox4" runat="server" ErrorMessage="邮箱不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" ValidationExpression="^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$" runat="server" ControlToValidate="TextBox4" ErrorMessage="邮箱格式不符合"></asp:RegularExpressionValidator>
                    </td>

                </tr>

                <tr>
                    <td>
                        <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox2" type="password" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="TextBox2" runat="server" ErrorMessage="密码不能为空"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="Label3" runat="server" Text="确认密码"></asp:Label>

                    </td>
                    <td>
                        <asp:TextBox  class="form-control"  ID="TextBox3" type="password" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" ControlToValidate="TextBox3" runat="server" ErrorMessage="确认密码不能为空"></asp:RequiredFieldValidator>

                    </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:Button ID="Button1" class="btn btn-lg btn-primary" Style="width: 200px" runat="server" Text="更新密码" OnClick="Button1_Click" />

                    </td>

                </tr>
            </table>
        </div>
    </form>
</body>
</html>
